package com.texplose.mapper;

import com.texplose.entity.vo.CommentVo;
import com.texplose.entity.vo.SendCommentVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : lyj
 * @Timer : 2022/5/31
 * @Description :
 */
@Repository
public interface CommentMapper {
    Integer count(Integer recipeId);

    List<CommentVo> listComment(Integer recipeId);

    void insert(@Param("sendCommentVo") SendCommentVo sendCommentVo);
}
